package core;

/**
 * When objects are named they can be compared and checked for equality
 * 
 * A named object has, you guessed it, a name.  Named objects can be compared
 * by their names.  Also they can return their names.
 * 
 * @version 1.0
 * @author Alexander Schearer <aas11@duke.edu>
 * 
 * @param <E>
 */
public interface Named<E> extends Comparable<E> {
	
	public String getName();

	public boolean equals(E n);

}
